//
//  DFSong.h
//  doubanFun
//
//  Created by bing on 16/3/22.
//  Copyright © 2016年 bing. All rights reserved.
//

#import "DFSingers.h"
#import <Foundation/Foundation.h>

@interface DFSong : NSObject

/*!
 *  @brief 歌曲id
 */
@property (nonatomic, copy) NSString *sid;
/*!
 *  @brief 歌曲名
 */
@property (nonatomic, copy) NSString *title;
/*!
 *  @brief 专辑id
 */
@property (nonatomic, copy) NSString *aid;
/*!
 *  @brief 专辑名
 */
@property (nonatomic, copy) NSString *albumtitle;
/*!
 *  @brief 专辑图片地址
 */
@property (nonatomic, copy) NSString *picture;
/*!
 *  @brief 专辑图片
 */
@property (nonatomic, strong) UIImage *albumPicture;
/*!
*  @brief 专辑跳转地址
*/
@property (nonatomic, copy) NSString *album;
/*!
 *  @brief 艺术家
 */
@property (nonatomic, copy) NSString *artist;
/*!
 *  @brief 歌曲的URL
 */
@property (nonatomic, copy) NSString *url;
/*!
 *  @brief 文件后缀
 */
@property (nonatomic, copy) NSString *file_ext;
/*!
 *  @brief 唱片公司
 */
@property (nonatomic, copy) NSString *company;
/*!
 *  @brief 长度
 */
@property (nonatomic, strong) NSNumber *length;
/*!
 *  @brief 出版年份
 */
@property (nonatomic, copy) NSString *public_time;
/*!
 *  @brief 码率
 */
@property (nonatomic, copy) NSString *kbps;
/*!
 *  @brief 是否已喜欢，0为false，1为true
 */
@property (nonatomic, strong) NSNumber *like;
/*!
 *  @brief 未知
 */
@property (nonatomic, copy) NSString *ssid;
/*!
 *  @brief 子类型（有些广告的字类型会是T）
 */
@property (nonatomic, copy) NSString *subtype;
/*!
 *  @brief 状态
 */
@property (nonatomic, strong) NSNumber *status;
/*!
 *  @brief hash值
 */
@property (nonatomic, copy) NSString *sha256;
/*!
 *  @brief 歌手
 */
@property (nonatomic, strong) DFSingers *singers;

- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
+ (instancetype)initWithDictionary:(NSDictionary *)dictionary;
@end
